package org.jeecg.modules.AccessoriesCenter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.AccessoriesCenter.entity.DilinniDaochuEntity;
import org.jeecg.modules.AccessoriesCenter.entity.DilinniEntity;

import java.util.List;

public interface DilinniManageService {
    IPage<DilinniEntity> getDilinniList(Page<DilinniEntity> page, Integer status, String dilinniNumber);

    int updateDilinnistatus(int id, int status);

    DilinniEntity getDilinnibyId(int id);

    int addDilinni(DilinniEntity entity);

    //查看这个编号是否已经存在
    String getDilinniNumberbyDilinniNumber(String dilinniNumber);

    int updateDilinni(DilinniEntity entity);

    void piliangUpdatestatus(List<Integer> ids, int status);

    List<DilinniDaochuEntity> getDilinniDaochulist(Integer status, String dilinniNumber);

    int importExcel(List<DilinniDaochuEntity> list);
}
